
#ifndef _GAMELAYER_H_
#define _GAMELAYER_H_

#include "cocos2d.h"
USING_NS_CC;

class GameLayer:
	public CCLayer
{
public:
	GameLayer();
	~GameLayer();

	CREATE_FUNC(GameLayer);
	virtual bool init();

	void Over(CCObject * ob);

	void menuCloseCallback(CCObject* pSender);

	virtual void update(float delta);

	virtual bool ccTouchBegan(CCTouch *pTouch, CCEvent *pEvent);
	virtual void ccTouchMoved(CCTouch *pTouch, CCEvent *pEvent);
	virtual void ccTouchEnded(CCTouch *pTouch, CCEvent *pEvent);
};
#endif